import React from "react";
import Search from "./components/Search";
import Navgator from "./components/Navgator";
import Chart from "./components/Chart";
function App() {
  function changeColor(color) {
    document.body.style.backgroundColor = color;
  }

  return (
    <div>
      <Search></Search>
      <Navgator changeColor={changeColor}></Navgator>
      <Chart></Chart>
    </div>
  );
}

export default App;
